package bean;
/***********************************************************************
 * Module:  booksubscribe.java
 * Author:  龙儿
 * Purpose: Defines the Class booksubscribe
 ***********************************************************************/

import java.util.*;

/** @pdOid e408ee84-77a7-44d0-b09b-e5f2257fba96 */
public class booksubscribe {
   /** @pdOid 41e33e5f-12e3-40ae-a58a-28d381397c41 */
   public java.util.Date date;
   /** @pdOid 994f6b72-9424-4fbf-bb49-755c6b072e4a */
   public int number;
   /** @pdOid d67854be-d072-4d5e-9c4e-b49d31a208c6 */
   public java.lang.String operator;
   /** @pdOid 02eba188-2ff3-4530-93fc-6292b5bd3a1e */
   public int checkAndAccept = 0;
   /** @pdOid e3d80327-0492-4e75-81e9-2c8a51cfcc54 */
   public float zk;
   
   /** @pdRoleInfo migr=no name=bookinfo assc=reference5 mult=1..1 side=A */
   public bookinfo bookinfo;
   
   
   /** @pdGenerated default parent getter */
   public bookinfo getBookinfo() {
      return bookinfo;
   }
   
   /** @pdGenerated default parent setter
     * @param newBookinfo */
   public void setBookinfo(bookinfo newBookinfo) {
      if (this.bookinfo == null || !this.bookinfo.equals(newBookinfo))
      {
         if (this.bookinfo != null)
         {
            bookinfo oldBookinfo = this.bookinfo;
            this.bookinfo = null;
            oldBookinfo.removeBooksubscribe(this);
         }
         if (newBookinfo != null)
         {
            this.bookinfo = newBookinfo;
            this.bookinfo.addBooksubscribe(this);
         }
      }
   }

}